<template>
    <div class="admin-index">
        <!-- 二级路由占位 -->
        <router-view />

        <!-- 底部导航栏 -->
        <van-tabbar
            v-model="active"
            active-color="#07c160"
            inactive-color="#000"
        >
            <van-tabbar-item icon="home-o" to="/admin/home"
                >圈子</van-tabbar-item
            >
            <van-tabbar-item icon="friends-o" to="/admin/my"
                >我的</van-tabbar-item
            >
        </van-tabbar>
    </div>
</template>

<script>
export default {
    data() {
        return {
            active: 0
        };
    }
};
</script>
